package com.ruoyi.charging.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单异常对象 charging_bill_exception
 * 
 * @author ruoyi
 * @date 2023-09-06
 */
public class ChargingBillException extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String billId;

    /** 电源 */
    @Excel(name = "电源")
    private Long electricity;

    /** 电压 */
    @Excel(name = "电压")
    private Long voltage;

    /** 温度 */
    @Excel(name = "温度")
    private Long temperature;

    /** 订单开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date billStarttime;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBillId(String billId) 
    {
        this.billId = billId;
    }

    public String getBillId() 
    {
        return billId;
    }
    public void setElectricity(Long electricity) 
    {
        this.electricity = electricity;
    }

    public Long getElectricity() 
    {
        return electricity;
    }
    public void setVoltage(Long voltage) 
    {
        this.voltage = voltage;
    }

    public Long getVoltage() 
    {
        return voltage;
    }
    public void setTemperature(Long temperature) 
    {
        this.temperature = temperature;
    }

    public Long getTemperature() 
    {
        return temperature;
    }
    public void setBillStarttime(Date billStarttime) 
    {
        this.billStarttime = billStarttime;
    }

    public Date getBillStarttime() 
    {
        return billStarttime;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("billId", getBillId())
            .append("electricity", getElectricity())
            .append("voltage", getVoltage())
            .append("temperature", getTemperature())
            .append("billStarttime", getBillStarttime())
            .append("createTime", getCreateTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
